package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 可预约对象 ccs_enable_appointment
 * 
 * @author ruoyi
 * @date 2024-10-28
 */
public class CcsEnableAppointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 预约医生编号 */
    @Excel(name = "预约医生编号")
    private Long doctorId;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentTime;

    /** 预约方式编号 */
    @Excel(name = "预约方式编号")
    private Long appointmentMethodId;

    /** 预约阈值 */
    @Excel(name = "预约阈值")
    private Long appointmentThreshold;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private Long updater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModified;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setAppointmentTime(Date appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() 
    {
        return appointmentTime;
    }
    public void setAppointmentMethodId(Long appointmentMethodId) 
    {
        this.appointmentMethodId = appointmentMethodId;
    }

    public Long getAppointmentMethodId() 
    {
        return appointmentMethodId;
    }
    public void setAppointmentThreshold(Long appointmentThreshold) 
    {
        this.appointmentThreshold = appointmentThreshold;
    }

    public Long getAppointmentThreshold() 
    {
        return appointmentThreshold;
    }
    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }
    public void setUpdater(Long updater) 
    {
        this.updater = updater;
    }

    public Long getUpdater() 
    {
        return updater;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("doctorId", getDoctorId())
            .append("status", getStatus())
            .append("appointmentTime", getAppointmentTime())
            .append("appointmentMethodId", getAppointmentMethodId())
            .append("appointmentThreshold", getAppointmentThreshold())
            .append("remark", getRemark())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
